#include "stdio.h"
#include "math.h"
main()
{
	int n;
	int i,j;
	float x,y,tot;
	
	scanf("%d",&n);
	for (i=1;i<=n;++i)
	{
		scanf("%f%f",&x,&y);
		tot=3.14*(x*x+y*y)/100;
		j=0;
		j=floor(tot);
		if (j<tot) ++j;
		printf("Property %d: This property will begin eroding in year %d.\n",i,j);
		
	}
	printf("END OF OUTPUT.\n");
	
}
